<template>
<div>
  <h2 >{{ msg }}</h2>
  <h2 @click="showname">学校姓名：{{name}}</h2>
  <h2>学生地址：{{address}}</h2>

</div>
</template>

<script>
import {mixin} from "@/mixin";
export default {
  name: "School",
  data(){
    return {
      msg:'School',
      name:'翰林',
      address:'北京'
    }
  },
  mixins:[mixin]
}
</script>

<style scoped>

</style>
